home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #43 (1990-04-23)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #43 (1990-04-23)(Amiga User Gruppe Einzugsgebiet 4000).adf / Hilfen / Anleitung / Batchman.doc < prev    next >
Text File  |  1990-04-11  |  4KB  |  119 lines

  1. Welcome To Bachman V1.1.
  2.  
  3. This is an update to the version that was published in the Amigo Times.
  4.  
  5.  
  6. WHAT IS BATCHMAN?
  7.  
  8. Batchman is a program that allows the user to execute CLI programs and 
  9. batch files simply by clicking on a gadget.  It can be used as the center
  10. of a turnkey system, where the user simply clicks on gadgets to launch
  11. applications.
  12.  
  13. I use it in my start-up sequence to launch programs that I would like
  14. executed at boot time. This allows a startup sequence to be interactive;
  15. the user can pick different batch files to execute.
  16.  
  17.  
  18.  
  19. OK, HOW DO I USE IT?
  20.  
  21. Batchman expects to load in a file that tells it what batch files and 
  22. executables to use.  If none is specified, or the program is launched from
  23. the WorkBench, then it will look in the S: directory for a file called 
  24. "Batchman.dat".
  25.  
  26. The format of the file looks like this:
  27.  
  28. Pathname Name Option
  29.  
  30. Where Pathname is the FULL path name of the file (no spaces), Name is the
  31. name that the user wants to appear in the gadget (15 letters max, no
  32. spaces).  Option is a one letter command: 'R' implies that Pathname is a
  33. batchfile, and that Batchman is to stay in memory after executing the
  34. batchfile.  'Q' means to quit after executing the batchfile.  'C' implies
  35. that it is an executable program.  Batchman automatically stays in memory
  36. after executing an executable.
  37.  
  38. The user can add parameters to their batchfiles or commands by typing in 
  39. the string gadget at the bottom of the window.
  40.  
  41. Here's an example of my configuration file:
  42.  
  43. S:Trans.bat Transcript Q
  44. S:Advantage.bat Advantage Q
  45. S:ProWrite.bat ProWrite Q
  46. S:Transcript.bat Trans+Spell Q
  47.  
  48. S:ProPage.bat ProPage Q
  49. S:PageSetter.bat PageSetter Q
  50. S:ProDraw.Bat ProDraw Q
  51. S:DPaint.Bat DeluxePaint Q
  52.  
  53. S:Opticks.bat Opticks Q
  54. S:BattleChess.bat BattleChess Q
  55. S:ATalk.bat ATalk_III Q
  56. S:Mand.bat MandelVroom Q
  57.  
  58. S:Rollodex.bat Rollodex R
  59. S:SwitchADV Adv_Dev Q
  60. S:SwitchM2 M2_Dev Q
  61. S:SwitchStandard Standard Q
  62.  
  63. S:SwitchBIG Big_Screen Q
  64.  
  65.  
  66.  
  67.  
  68. It is not necessary to group the lines, but there are 4 gadgets per line
  69. on the window, and this helps me arrange things (me, the human, not
  70. batchman, the program).
  71.  
  72.  
  73. I've included the source, which is in Benchmark Modula 2, so someone can
  74. modify the program to suit his/her/its preferences.
  75.  
  76. Batchman, Copyright © Michal Todorovic, 1988.  I give everyone and anyone 
  77. the right to distribute Batchman as long as the following conditions are
  78. held:
  79.  
  80.     - The program, its source, and this document are included in the
  81.       distribution.
  82.  
  83.     - It is not modified in ANY way.  However, I do give the user
  84.       permission to modify the program for his/her/its personal use.
  85.  
  86.     - It can not be included as part of a commercial program without
  87.       the author's permission.
  88.  
  89.     - It can not be included on a disk magazine without the author's
  90.       permission.
  91.  
  92. I specifically give the right for user groups, bulletin boards which do not
  93. claim copyright over their contents, and Fred Fish to distribute Batchman
  94. as long as the above conditions are held.
  95.  
  96. I can be reached at
  97.     Michal Todorovic
  98.     440 Whitman # 49
  99.     Goleta, CA 93117
  100.  
  101. For comments, criticisms, etc.  You don't have to send money, but none will
  102. be turned down.  If there is sufficient interest in the program, I will add
  103. the following features:
  104.  
  105.     - Execute ARexx scripts.
  106.     - Change configuration files during program execution.
  107.     - Add an Arexx port (if I can think of a use for one...)
  108.     - Give the user more control over some internal options:
  109.         - Number of characters in gadget
  110.         - Number of columns, rows.
  111.         - Initial size and placement of window
  112.         - Allow spaces in file names and names in gadgets
  113.  
  114. If you make a neat modification to the program, send it to me, and I'll
  115. give you the credit in the next distribution if I like it, or haven't
  116. already implemented it.
  117.  
  118. Enjoy.
  119.